const api = "/radio-management";
const loginApi = '/security';
const hwcloud = '/toolkit';
const toolkit = '/toolkit';
// const api = "";
let urlApi = {
  //登录
  login:{
    userinfo:`${loginApi}/authorization/userinfo`, //登录
    token:`${loginApi}/authorization/token`,//token
    logout:`${loginApi}/authorization/logout`,//注销登录
  },
   //禁用频率
   disabledFrequency:{
    delete:`${api}/disabled-frequency/delete`,//删除
    listAll:`${api}/disabled-frequency/listAll`,//集合
    submit:`${api}/disabled-frequency/submit`,//集合
  },
  //台站信息
  radio: {
    delete: `${api}/radio/delete`, //删除
    listAll: `${api}/radio/listAll`, //集合
    register: `${api}/radio/register`, //注册到云端
    select: `${api}/radio/select`, //查询
    submit: `${api}/radio/submit`, //提交
  },
  //探测计划
  detect:{
    delete: `${api}/detect/delete`, //删除
    modify: `${api}/detect/modify`, //修改
    submit: `${api}/detect/submit `, //提交
  },
  //探测计划策略
  detectStrategy:{
    modify: `${api}/detect-strategy/modify`, //修改
  },
  //探测结果
  detectResult:{
    listByIds:`${api}/detect-result/listByIds`,//根据ids查询结果
    listPage:`${api}/detect-result/listPage`,//分页查询
    submit:`${api}/detect-result/submit`,//上传探测消息
  },
  //探测结果优选
  detectResultBest:{
    delete: `${api}/detect-result-best/delete`, //删除
    generate: `${api}/detect-result-best/generate`, //生成探测优选结果
    listPage: `${api}/detect-result-best/listPage`, //分页查询
  }

};

export default urlApi;
